package net.wanho.shop.impl;

import net.wanho.shop.User;
import net.wanho.shop.UserService;
import net.wanho.shop.dao.UserDao;
import net.wanho.shop.dao.impl.UserDaoImpl;

/**
 * Author：汤小洋
 * Date：2024-08-06 14:03
 * Description：<描述>
 */
public class UserServiceImpl implements UserService {

    private UserDao userDao = new UserDaoImpl();

    @Override
    public void add(User user) {
        userDao.insert(user);
    }
}
